package com.Stash.Config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

// MVC 拦截器配置
@Configuration
public class MVCFilterConfig extends WebMvcConfigurationSupport {
//@Autowired
//private com.qian.Filter.FilterToken FilterToken;
//    @Override
//    protected void addInterceptors(InterceptorRegistry registry) {
////        registry.addInterceptor(FilterToken).addPathPatterns("/**");
////        registry.addInterceptor(FilterToken).addPathPatterns("/manager/*");
//        registry.addInterceptor(FilterToken).addPathPatterns("/*");
//
//    }
}
